package c.e.a.b.e.c;

import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import b.i.b.f;
import com.google.android.gms.internal.measurement.zzae;

/* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */
public final class h implements Creator<zzae> {
    public final Object createFromParcel(Parcel parcel) {
        Parcel parcel2 = parcel;
        int j1 = f.j1(parcel);
        long j = 0;
        long j2 = j;
        String str = null;
        String str2 = str;
        String str3 = str2;
        Bundle bundle = str3;
        boolean z = false;
        while (parcel.dataPosition() < j1) {
            int readInt = parcel.readInt();
            switch (65535 & readInt) {
                case 1:
                    j = f.S0(parcel2, readInt);
                    break;
                case 2:
                    j2 = f.S0(parcel2, readInt);
                    break;
                case 3:
                    z = f.O0(parcel2, readInt);
                    break;
                case 4:
                    str = f.j0(parcel2, readInt);
                    break;
                case 5:
                    str2 = f.j0(parcel2, readInt);
                    break;
                case 6:
                    str3 = f.j0(parcel2, readInt);
                    break;
                case 7:
                    bundle = f.d0(parcel2, readInt);
                    break;
                default:
                    f.h1(parcel2, readInt);
                    break;
            }
        }
        f.q0(parcel2, j1);
        return new zzae(j, j2, z, str, str2, str3, bundle);
    }

    public final /* synthetic */ Object[] newArray(int i) {
        return new zzae[i];
    }
}
